import request from "@/utils/request";

export function account_index(params) {
  return request({
    url: "/account/index",
    method: "get",
    params
  });
}

export function account_info(params) {
  return request({
    url: "/account/info",
    method: "get",
    params
  });
}

export function account_account(data) {
  return request({
    url: "/account/account",
    method: "post",
    data: data
  });
}

export function account_paid(data) {
  return request({
    url: "/account/paid",
    method: "post",
    data: data
  });
}

export function account_getList(params) {
  return request({
    url: "/account/getList",
    method: "get",
    params
  });
}

// 采购账单导出---查看
export function export_AccountStatement(params) {
  return request({
    url: "/export/AccountStatement",
    method: "post",
    responseType: "blob",
    params
  });
}

// 采购账单导出
export function export_account(data) {
  return request({
    url: "/export/export_account",
    method: "post",
    responseType: "blob",
    data: data
  });
}
